package com.baikeyang.common.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 活动照片相册文件关系表
 * </p>
 *
 * @author BaiKeyang
 * @since 2019-06-11
 */
@TableName("t_activity_photo_album_file")
public class ActivityPhotoAlbumFile extends Model<ActivityPhotoAlbumFile> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 专辑ID
     */
    @TableField("ALBUM_ID")
    private Integer albumId;

    /**
     * 文件ID
     */
    @TableField("FILE_ID")
    private Integer fileId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAlbumId() {
        return albumId;
    }

    public void setAlbumId(Integer albumId) {
        this.albumId = albumId;
    }

    public Integer getFileId() {
        return fileId;
    }

    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ActivityPhotoAlbumFile{" +
        "id=" + id +
        ", albumId=" + albumId +
        ", fileId=" + fileId +
        "}";
    }
}
